Skip to content

Conversation

EnzoPB
Copy link
Contributor

@EnzoPB EnzoPB commented Sep 19, 2025

This pull request adds the DPS310 barometric sensor gizmo (taken from Infineon/arduino-xensiv-dps3xx), and fixes issue #79 where IMU interrupts where not getting triggered.
Now right after attachInterrupt, HAL_NVIC_SetPriority is called to set the interrupt priority to the maximum allowed while still allowing FreeRTOS API calls inside the ISR.

NOTE: this MR is still a draft, see src/bar/BarGizmoDPS310.h line 20.

@EnzoPB EnzoPB marked this pull request as draft September 19, 2025 19:32
@qqqlab
Copy link
Owner

qqqlab commented Sep 19, 2025

Hi @EnzoPB , looks very good already!

Just a couple quick comments:

Maybe split this in two PRs, makes it easier to review.

Have a look at src/rdr/rdr.cpp which uses gizmos with a static create() method to make it possible to return a "fail" on gizmo creation.

@EnzoPB
Copy link
Contributor Author

EnzoPB commented Sep 20, 2025

I'll finish that on monday, I also want to test it on another board with another MCU.

@EnzoPB EnzoPB closed this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants